package com.zr.datamodel;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.OneToOne;
import javax.persistence.Table;

/**
 * 配送点价格
 * @author lym
 *
 */
@Entity
@Table(name="range_price")
public class RangePriceDM {

	//	配送范围id
	private int id;
	
	//配送范围名称
	private String rangeName;
	
	//首重价格
	private int firstPrice	;
			
	//次重价格
	private int nextPrice;	
			
	//首立方价格
	private int fcPrice;	
			
	//次立方价格
	private int ncPrice;

	@Id
	@GeneratedValue
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}
	@Column(name="range_name")
	public String getRangeName() {
		return rangeName;
	}

	public void setRangeName(String rangeName) {
		this.rangeName = rangeName;
	}
	@Column(name="first_price")
	public int getFirstPrice() {
		return firstPrice;
	}

	public void setFirstPrice(int firstPrice) {
		this.firstPrice = firstPrice;
	}
	@Column(name="next_price")
	public int getNextPrice() {
		return nextPrice;
	}

	public void setNextPrice(int nextPrice) {
		this.nextPrice = nextPrice;
	}
	@Column(name="fc_price")
	public int getFcPrice() {
		return fcPrice;
	}

	public void setFcPrice(int fcPrice) {
		this.fcPrice = fcPrice;
	}
	@Column(name="nc_price")
	public int getNcPrice() {
		return ncPrice;
	}

	public void setNcPrice(int ncPrice) {
		this.ncPrice = ncPrice;
	}

}
